<?php

abstract class Admin_Model_DbTable_Abstract extends Zend_Db_Table_Abstract {
	protected function _setupTableName()
	{
		 parent::_setupTableName();
		 
		 if (Zend_Registry::isRegistered('TABLE_PREFIX'))
		 {
		 	$pref = Zend_Registry::get('TABLE_PREFIX');
		 	$this->_name = $pref . $this->_name;
		 }
	}
}

?>